package com.qylm.lawyermanager.dongao.service;

import com.qylm.lawyermanager.dongao.entity.Lawyer;
import com.qylm.lawyermanager.dongao.mapper.LawyerMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 律师档案业务接口
 * @author xuerudan
 * @version 1.0
 */
public interface LawyerService {
    public int removeLawyer(int lawyerid);
    /**查询所有律师
     *
     * @return 律师集合
     */
    public List<Lawyer> findLawyer();
    /**
     * 添加律师
     * @param lawyer 律师对象
     * @return 添加成功返回1
     */
    public int addLawyer(Lawyer lawyer);
}
